//
//  ApplyModel.swift
//  Venus
//
//  Created by qurongxiang on 2018/8/5.
//  Copyright © 2018年 zhaowang. All rights reserved.
//

import UIKit

class ApplyModel: NSObject {
    
    var list:[ApplyModelList] = ApplyModelList.formatData()
    var justTitle:String = "手持身份证照片"
    var backTitle:String = "身份证正面照片"
    var justUrl:String = "" //正面照
    var backUrl:String = "" //反面照
  
    var bookArr:[String] = [String]()
    
    override init() {
        super.init()
        bookArr.append("")
    }
}


class ApplyModelList: NSObject {
    
   
    
    var title:String = ""
    var placeholder:String = ""
    var value:String = ""
    
    
    static func formatData() ->   [ApplyModelList]{
        var currentArr = [ApplyModelList]()
        let list0 = ApplyModelList()
        list0.title = "真实姓名"
        list0.placeholder = "请输入真实姓名"
        
        let list1 = ApplyModelList()
        list1.title = "身份证号"
        list1.placeholder = "请输入真实身份证号码"
        
        let list2 = ApplyModelList()
        list2.title = "职      业"
        list2.placeholder = "请输入职业"
        currentArr.append(list0)
        currentArr.append(list1)
        currentArr.append(list2)
        return currentArr
    }
    
}
